Documents for PDF, .NET Edition Documentation
CopyTo(Int32,T[],Int32,Int32) Method

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Common Namespace > StructList<T> Class > CopyTo Method : CopyTo(Int32,T[],Int32,Int32) Method
The zero-based index in the source StructList<T> at which copying begins.
The one-dimensional System.Array that is the destination of the elements copied from StructList<T>.
The zero-based index in array at which copying begins.
The number of elements to copy.
Copies a range of elements from the StructList<T> to a compatible one-dimensional array, starting at the specified index of the target array.
Syntax
'Declaration
 
Public Overloads Sub CopyTo( _
   ByVal index As System.Integer, _
   ByVal array() As T, _
   ByVal arrayIndex As System.Integer, _
   ByVal count As System.Integer _
) 
public void CopyTo( 
   System.int index,
   T[] array,
   System.int arrayIndex,
   System.int count
)

Parameters

index
The zero-based index in the source StructList<T> at which copying begins.
array
The one-dimensional System.Array that is the destination of the elements copied from StructList<T>.
arrayIndex
The zero-based index in array at which copying begins.
count
The number of elements to copy.
See Also

Reference

StructList<T> Class
StructList<T> Members
Overload List